---
title: "Get Pipeline"
api: "GET /v1/pipeline/{slug}"
description: "Retrieve a specific pipeline by its slug"
---

Fetch the configuration of a specific pipeline.

## Examples

<CodeGroup>

```python Python
from chonkie.cloud import Pipeline

pipeline = Pipeline.get("my-rag-pipeline")

print(f"Slug: {pipeline.slug}")
print(f"Description: {pipeline.description}")
print(f"Steps: {pipeline.to_config()}")
```

```typescript JavaScript
import { Pipeline } from '@chonkiejs/cloud';

const pipeline = await Pipeline.get('my-rag-pipeline');

console.log(`Slug: ${pipeline.slug}`);
console.log(`Description: ${pipeline.description}`);
console.log(`Steps: ${JSON.stringify(pipeline.toConfig())}`);
```

```bash cURL
curl -X GET https://api.chonkie.ai/v1/pipeline/my-rag-pipeline \
  -H "Authorization: Bearer YOUR_API_KEY"
```

</CodeGroup>

## Path Parameters

<ParamField path="slug" type="string" required>
  The pipeline slug to retrieve.
</ParamField>

## Response

<ResponseField name="id" type="string">
  Unique identifier for the pipeline.
</ResponseField>

<ResponseField name="slug" type="string">
  The pipeline slug.
</ResponseField>

<ResponseField name="description" type="string">
  Pipeline description.
</ResponseField>

<ResponseField name="organization_slug" type="string">
  Organization that owns the pipeline.
</ResponseField>

<ResponseField name="steps" type="array">
  Array of pipeline step configurations.
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO 8601 timestamp of creation.
</ResponseField>

<ResponseField name="updated_at" type="string">
  ISO 8601 timestamp of last update.
</ResponseField>

## Errors

| Status | Description |
|--------|-------------|
| 404 | Pipeline not found |
